[PATCH] [3.11] gh-100884: email/_header_value_parser: don't encode list separators...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 17 Feb 2024 13:01:02 +0000 (14:01 +0100)
committerAndrej Shadura <andrewsh@debian.org>
Tue, 20 Jan 2026 10:45:10 +0000 (11:45 +0100)
commitab8a3da0209ce1394e5a02112226ed342fdaa1fe
tree9bd4be96355236940499a830fa38b8f7af221ef3
parent64872095019fe54cfdbee7f03858b13f0e7272a9
[PATCH] [3.11] gh-100884: email/_header_value_parser: don't encode list separators (GH-100885) (GH-115593)

ListSeparator should not be encoded. This could happen when a long line
pushes its separator to the next line, which would have been encoded.
(cherry picked from commit 09fab93c3d857496c0bd162797fab816c311ee48)

Co-authored-by: Thomas Weißschuh <thomas@t-8ch.de>
(cherry picked from commit 70754d21c288535e86070ca7a6e90dcb670b8593)

Gbp-Pq: Name CVE-2025-1795-1.patch
Lib/email/_header_value_parser.py
Lib/test/test_email/test__header_value_parser.py